//
//  UIView+LSCore.m
//  zeekol
//
//  Created by gaojiefeng on 2020/7/21.
//  Copyright © 2020 gaojiefeng. All rights reserved.
//

#import "UIView+LSCore.h"

@implementation UIView (LSCore)
-(void)setEdgeWithSuper:(UIEdgeInsets)edges{
       
    [self mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.superview).width.insets(edges);
    }];
    
}


@end
